package com.yuanfeng.activity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanfeng.activity.dto.ActivityExplainParamDTO;
import com.yuanfeng.activity.entity.ActivitySpinwinEntity;
import com.yuanfeng.commoms.util.ResponseResult;

import java.util.Map;

/**
 *
 */
public interface ActivitySpinwinService extends IService<ActivitySpinwinEntity> {

    /**
     * 更新抽奖限制
     *
     * @param param
     * @return
     */
    ResponseResult updateSpinwinLimit(Map<String, Object> param);

    /**
     *
     * 查询抽奖限制
     *
     * @param param
     * @return
     */
    ResponseResult querySpinwinLimit(Map<String, Object> param);


    /**
     * 删除幸运大转盘活动
     *
     * @param param
     * @return
     */
   ResponseResult deleteSpinwinActivity(Map<String, Object> param);

    /**
     *
     * 查询幸运大转盘活动详情
     *
     * @param param
     * @return
     */
   ResponseResult querySpinwinActivityDetail(Map<String, Object> param);

    /**
     *
     * 查询幸运大转盘活动列表
     *
     * @param param
     * @return
     */
    ResponseResult querySpinwinActivityList(Map<String, Object> param);

    /**
     * 增加或更新幸运大转盘活动
     *
     * @param param
     * @return
     */
    ResponseResult updateSpinwinActivity(Map<String, Object> param);

    /**
     * 查询用户可抽奖次数和总的参与人数
     * @param param
     * @return
     */
    ResponseResult querySpinWinDrawTimes(ActivityExplainParamDTO param);

    /**
     * 查询活动说明
     * @param param
     * @return
     */
    ResponseResult queryActivityExplain(ActivityExplainParamDTO param);

    /**
     * 用户抽奖
     * @param param
     * @return
     */
    ResponseResult updateLotteryDraw(ActivityExplainParamDTO param);
}
